home *** CD-ROM | disk | FTP | other *** search
/ The Canadian & World Encyclopedia 1998 / The Canadian & World Encyclopedia 1998 - Disc 2.iso / mac / prime_CD / pb / ERAS / TY / ERA_TY.DIR / 00127_Script_Internal Tables < prev    next >
Text File  |  1997-07-24  |  2KB  |  79 lines

  1. on initTextPopupTable
  2.   global gtextindex
  3. set gTextIndex = [#d_metric: 351, #d_montoly: 222, #d_greene: 13, #d_davies: 495, #d_expo: 117, #d_greenpeace: 626]
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.   
  19.   
  20.   
  21.   
  22.   
  23.   
  24.   
  25.   
  26.   
  27.   
  28.   
  29.   
  30.   
  31.   
  32.   
  33.   
  34.   
  35.   
  36. end
  37.  
  38. on initRollList
  39.   
  40.   
  41.   ------- rollover object
  42.   GLOBAL gMarkerRectList, gMarkerRectListCount
  43.   set gMarkerRectList = [#normal: rect(26, 459, 286, 480), #normal: rect(0, 0, 640, 39), #r_calendar: rect(94, 50, 182, 165), #r_clark: rect(303, 378, 343, 452), #r_davies: rect(299, 246, 350, 329), #r_expo: rect(170, 182, 231, 235), #r_fox: rect(528, 189, 568, 343), #r_greene: rect(67, 191, 118, 307), #r_greenpeace: rect(244, 102, 345, 182), #r_henderson: rect(376, 91, 424, 199), #r_metric: rect(473, 101, 525, 177), #r_montoly: rect(432, 253, 483, 327), #r_sixties: rect(171, 273, 252, 399), #r_trudeau1: rect(85, 378, 125, 452), #r_trudeau2: rect(372, 378, 412, 452), #r_turner: rect(497, 378, 537, 452)]
  44.   set gMarkerRectListCount = count(gMarkerRectList)
  45.   
  46.   
  47.   ----- calendar globals
  48.   global gTextTOC
  49.  
  50. set gTextTOC = [1968: 21, 1969: 133, 1970: 273, 1971: 315, 1972: 343, 1976: 539, 1977: 581, 1979: 749, 1980: 819, 1975: 469, 1978: 707]
  51.   
  52.   set the forecolor of field "yearIndex" of castlib "internal" to 40
  53.   
  54. end
  55.  
  56. on initSoundList
  57.   
  58.   GLOBAL gRollSoundList    
  59.   set gRollSoundList = [#r_sixties: #p_ty_sixties.aif]
  60.   --  set gRollSoundList = [:] -- disables all rollover sounds
  61.   
  62. end
  63.  
  64.  
  65. on initCursorTable
  66.   initCursor -- this is a shared handler 
  67.   -- has to be called from here for some reason, or custom cursors disappear
  68.   
  69.   -- CURSOR to LABEL table
  70.   global gCursorLabels
  71.   
  72.   set gCursorLabels = [#audioList: "", #videoList: "r_Bluenose, r_Depression, r_dumbells, r_greyowl, r_hewitt, r_stampede, r_WW1, r_royalyork", #slideshowList: ""]
  73.   
  74.   global gMovieCursor, gAudioCursor, gActiveCursor
  75.   set gMovieCursor = [the number of member "c_movie", the number of member "c_movie_mask"]
  76.   set gAudioCursor = [the number of member "c_mic", the number of member "c_mic_mask"]
  77.   set gActiveCursor = [the number of member "hand", the number of member "hand mask"]
  78.   
  79. end